package net.xdclass.onlinexdclass.service;


import net.xdclass.onlinexdclass.model.entity.User;

import java.util.Map;

public interface UserService {

    public int save(Map<String, String> userInfo);

    public void updateUser(User user);

    public String findByPhoneAndPwd(String phone, String pwd);

    public User getUserById(Integer id);

    public User findUserByToken(Integer id);

}
